package com.llkj.contractmanagement.contractmanagement.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import com.llkj.contractmanagement.R;

import java.util.List;

import butterknife.ButterKnife;

/**
 * author: dong.yj
 * created on: 2016/8/17 16:46
 * description:模板合同界面数据适配器
 */
public class ContractModelAdapter extends CommonBaseAdapter<ContractModelAdapter.ViewHolder,String>{


    public ContractModelAdapter(Context context, List<String> list) {
        super(context, list);
    }

    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int position) {
        return new ViewHolder(inflate(R.layout.lv_contract_model_item, null));
    }

    @Override
    public void onBindViewHolder(ViewHolder holder, int position) {

    }

    static class ViewHolder extends CommonBaseAdapter.ViewHolder {

        public ViewHolder(View view) {
            super(view);
            ButterKnife.bind(view);
        }
    }
}
